package com.itheima;

public class Student {
    private String name;
    private String age;
    public Student(){}
    public Student(String name,String age){
        this.name = name;
        this.age = age;
    }
    public void setName(String name){
        this.name = name;
    }
    public String getName(){
        return name;
    }
    public void setAge(String age){
        this.age = age;
    }
    public String getAge(){
        return age;
    }
    public void study(){
        System.out.println("Studying!");;
    }
    public void doHomework(){
        System.out.println("Doing Homework!");
    }

}
